package com.chinaoly.baotou.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class MessageParams {
    @ApiModelProperty("发送方id")
    private String customerMessageId;
    @NotNull(message = "短信内容不能为空")
    @ApiModelProperty("短信内容")
    private String messageContent;
    @NotNull(message = "发送电话不能为空")
    @ApiModelProperty("发送电话")
    private String messageTo;
    @NotNull(message = "短信标识不能为空")
    @ApiModelProperty("短信标识")
    private String messageSign;
}
